import * as PIXI from 'pixi.js'
const colorMatrix: { [key: string]: PIXI.ColorMatrixFilter[] } = {} // 颜色矩阵滤镜
export const getColorMatrix = (name: string | number): PIXI.ColorMatrixFilter[] => {
  return colorMatrix[name]
}
export const setColorMatrix = (name: string | number, pixi: PIXI.ColorMatrixFilter[]): void => {
  colorMatrix[name] = pixi
}
